/*
 * Copyright By Peak3
 * Copyright By c336bf6ff03a756989bb456b5b5e3271228d43ed38461eb5cb5755d17a2fc9b8
 * All rights reserved.
 *
 * If you are not the intended user, you are hereby notified that any use, disclosure, copying, printing, forwarding or
 * dissemination of this property is strictly prohibited. If you have got this file in error, delete it from your system.
 */

package com.vv.tools.modules.message.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.vv.tools.common.support.BaseModel;

import java.time.LocalDateTime;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 留言实体类
 *
 * @author liwen
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("message")
public class Message extends BaseModel {

    /**
     * 留言者昵称
     */
    private String nickname;

    /**
     * 留言者邮箱
     */
    private String email;

    /**
     * 留言内容
     */
    private String content;

    /**
     * 留言状态：0-待审核，1-已通过，2-已拒绝
     */
    private Integer status;

    /**
     * 管理员回复内容
     */
    private String reply;

    /**
     * 回复时间
     */
    private LocalDateTime replyTime;

    /**
     * 回复管理员ID
     */
    private Long replyUserId;

    /**
     * IP地址
     */
    private String ipAddress;

    /**
     * 用户代理
     */
    private String userAgent;

    /**
     * 是否置顶：0-否，1-是
     */
    private Integer isTop;

    /**
     * 点赞数
     */
    private Integer likeCount;

}
